﻿
$(function () {
    //create an add event popup
    $("#AddEventPopup").dialog({
        modal: true,
        resizable: false,
        width: DEFAULT_DLG_WIDTH,
        height: DEFAULT_DLG_HEIGHT,
        position: ['center', 'center'],
        autoOpen: false,
        buttons:
        [
            {
                text: "Create",
                click: function () { OnAddEventClicked(); }
            },
            {
                text: "Cancel",
                click: function () { $(this).dialog("close"); }
            }
        ],
        title: "Schedule Event",
        open: OnOpenNewEventDlgOpen
    });
});

function OnOpenNewEventDlgOpen() {}

function OnAddEventClicked() {}

